import { GET_CAPTCHA } from './actionTypes';
import { getCaptch } from '../../../api/Login';
export const getCaptcha=(params)=>async (dispatch,getState,{API})=>{
  const response= await getCaptch();
  if(response){
    dispatch({
      type:GET_CAPTCHA,
      payload:response
    });
  }
}